Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make dataDir required on config #21

Merged
merged 1 commit into from
Nov 13, 2024

Conversation

jairad26
Copy link
Member

This PR removes the WithDataDir() function, which implies that the datadirectory is optional and enforces it on NewDefaultConfig, since on its own, the NewDefaultConfig will not spin up a new modusDB instance. Addressed in
https://linear.app/hypermode/issue/DGR-822/modusdb-newdefaultconfig-fails

Copy link

linear bot commented Nov 13, 2024

DGR-822 modusdb NewDefaultConfig fails

I would expect the default config to work ootb, but it throws the error
`"data directory is required"`

@jairad26 jairad26 enabled auto-merge (squash) November 13, 2024 15:28
@jairad26 jairad26 merged commit 0efc77a into main Nov 13, 2024
1 check passed
@jairad26 jairad26 deleted the jai/dgr-822-modusdb-newdefaultconfig-fails branch November 13, 2024 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants